#Proj Interface

OCAML=ocamlopt
OCAMLFLAGS= -I +lablgtk2
OCAMLLD = lablgtk.cmxa gtkInit.cmx
OCAMLSDL = -I +sdl
OCAMLFLAG2= bigarray.cmxa sdl.cmxa sdlloader.cmxa


all :
	${OCAML} ${OCAMLSDL} ${OCAMLFLAG2} -c carto.ml
	${OCAML} ${OCAMLSDL} ${OCAMLFLAG2} ${OCAMLFLAGS} ${OCAMLLD} -o Interface carto.cmx Interface.ml

carto: carto.ml
	${OCAML} ${OCAMLSDL} ${OCAMLFLAG2} -c carto.ml


Interface: Interface.ml
	${OCAML} ${OCAMLSDL} ${OCAMLFLAG2} ${OCAMLFLAGS} ${OCAMLLD} -o Interface carto.cmx Interface.ml


clean:
	rm -f *~ *.o *.cm? Interface

